#include "factor.h"
#include "additems.h"
#include "actions.h"
#include "dragdrop.h"
#include "draws.h"
#include "cursors.h"

Factor * gFactor = NULL;

Factor::Factor(QObject *parent)
	: QObject(parent)
{

}

Factor::~Factor()
{

}

int Factor::create()
{
	gCursors = new Cursors(this);

	gAddItems = new AddItems(this);

	gActions = new Actions(this);

	gDragDrop = new DragDrop(this);

	gDraws = new Draws(this);

	return 0;
}
int Factor::init()
{
	gActions->initActions();

	gDragDrop->initDragDrop();

	return 0;
}